package com.xq.mapper;

import com.xq.dto.UmsOrganizations.UmsOrganizationFindAllDTO;
import com.xq.entity.UmsOrganizations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wuven
 * @since 2025-05-26
 */
@Mapper
public interface UmsOrganizationsMapper extends BaseMapper<UmsOrganizations> {

    /**
     * 根据根节点id来查询数据
     * @param rootId
     * @return
     */
    List<UmsOrganizationFindAllDTO> getAllOrganization(@Param("rootId") String rootId);

}
